三七长什么样子图片| 阿司匹林主治什么病| 雌激素过高是什么原因造成的| 什么是白肉| c12是什么| 六月份适合种什么蔬菜| 七点半是什么时辰| 干什么| 剖腹产可以吃什么水果| 每天喝柠檬水有什么好处| 去减一笔变成什么字| 情志是什么意思| pc是什么塑料| 19朵玫瑰代表什么意思| hi什么意思| 孕酮低有什么影响| 癫疯是什么原因引起| 什么叫tct检查| 驴打滚是什么意思| 宫颈纳囊是什么| 直肠肿物是什么意思| 肾阳虚女性什么症状| 经常喝咖啡有什么好处和坏处| 洋葱配什么菜炒好吃| 人类免疫缺陷病毒是什么| q是什么意思| 钮祜禄氏现在姓什么| 奶篓子是什么意思| 越南说什么语言| 右乳导管扩张什么意思| 过期不候是什么意思| 脚后跟干裂用什么药膏| 身上长了好多红痣是什么原因| 恶露后期为什么是臭的| 82年属狗是什么命| 手冲是什么意思| 做不好的梦预示着什么| 家里出现蛇是什么征兆| 梦见小女孩是什么意思| 直立倾斜试验阳性是什么病| 肠胃炎吃什么消炎药| 岳云鹏什么学历| 胎儿肠管扩张是什么原因造成的| 胰腺癌晚期什么症状| 肋骨外翻挂什么科| 白带多用什么药效果好| 无间是什么意思| 吃什么解酒快| 5月26号是什么日子| 月经刚完同房为什么痛| 尿频是什么意思| 口气重吃什么药效果好| 空调干燥是什么意思| 切除脾脏对身体有什么影响| 经常口腔溃疡挂什么科| 山梨酸钾是什么| csco是什么意思| 心悸是什么原因造成的| 熹是什么意思| 痛风什么症状| 身份证复印件是什么| 1985年属牛是什么命| 腿上长痣代表什么| 瓷娃娃什么意思| 准生证需要什么材料| 直言不讳是什么意思| 生命是什么意思| 三个直念什么| 榅桲是什么水果| 伶牙俐齿是什么生肖| s牌运动鞋是什么牌子| pr是什么意思医学| 皮损是什么意思| 拼音的音序是什么| 日干是什么| 简直了是什么意思| 头出虚汗是什么原因引起的| 手作是什么意思| 生姜放肚脐眼有什么功效| 送产妇什么礼物最合适| 沈阳有什么大学| 六害是什么意思| 胃溃疡吃什么水果好| 为什么想到一个人会心痛| 黄晓明的老婆叫什么名字| 喉咙干疼吃什么药| 尖锐湿疣吃什么药| 家里为什么有蟑螂| 一岁宝宝流鼻涕吃什么药| 什么都想吃| 脑白质变性是什么病| 梦见自己被抢劫了预示什么| 天蝎座男是什么性格| 择日是什么意思| 嘴唇上长痘是什么原因| 狐臭和汗臭有什么区别| 燕子吃什么| 安乐片是什么药| 西游记有什么故事| 正畸和矫正有什么区别| 肚脐下方硬硬的是什么| 恩裳是什么档次的衣服| 毛泽东什么时候死的| 鸡血藤有什么功效| 回奶吃什么| 棍子鱼又叫什么鱼| 倒贴是什么意思| 看脖子应该挂什么科| 正月十二是什么星座| 不割包皮有什么影响吗| 52是什么意思| 胆毒是什么原因引起的| 白芷炖肉起什么作用| hpv检查前需要注意什么| 食指长痣代表什么| 恐龙吃什么| 尕尕是什么意思| 三点水的字大多与什么有关| 豇豆不能和什么一起吃| lh是什么意思啊| 什么是同比| 口香糖是什么材料做的| 晒太阳有什么好处| 伴手礼是什么| 胎儿宫内缺氧孕妇有什么症状| 白癜风是什么样子的| t波改变是什么意思| 白切鸡用什么鸡做好吃| 长期胃胀是什么原因| shy是什么意思| 胃肠炎吃什么药好| 狄仁杰为什么才三品| 阴道炎用什么药好| 屁股疼是什么原因| 算命先生是什么生肖| 电影下映是什么意思| 大公鸡是什么牌子| 简单明了是什么意思| 民间故事有什么| 白芷炖肉起什么作用| 做什么来钱快| 阴道润滑剂什么牌子好| 农历11月25日是什么星座| 五鬼是什么意思| 肾结石什么症状| 英五行属什么| 韩束属于什么档次| 边缘是什么意思| 想是什么意思| 小孩尿味道很重是什么原因| 路政属于什么单位| 公公是什么意思| 版记是什么| 槟榔是什么味道| 朋友的反义词是什么| 双侧腋下见淋巴结什么意思| 什么虫咬了起水泡| 挖空细胞是什么意思啊| 坚果补充什么营养成分| 部委是什么意思| 口气重是什么原因| teeth是什么意思| 跳梁小丑指什么生肖| 知世故而不世故是什么意思| 促黄体生成素低说明什么| 绷不住了是什么意思| 天上的星星是什么| 什么是甲亢| 心脏跳的快什么原因| 葡萄像什么比喻句| 石花膏是什么做的| pwr是什么意思| 急性腮腺炎吃什么药| 什么颜色衣服显皮肤白| 女孩生日送什么| 猪拉稀用什么药最快| 具象是什么意思| 闪卡是什么意思| 犇是什么意思| 珍珠米是什么米| 秦皇岛有什么特产| 为什么生理期不能拔牙| 副部级是什么级别| 前列腺彩超能查出什么| 正襟危坐什么意思| 紧急避孕药什么时候吃最有效| 咳嗽能吃什么水果| 动物蛋白是什么| 夏天刮什么风| 弯弯的月亮像什么| 什么是地中海贫血| 胃肠镜检查挂什么科| 游戏hp是什么意思| 什么是结核病| 弱肉强食是什么意思| 手脚脱皮吃什么维生素| 氨气对人体有什么危害| 碱中毒是什么引起的| 什么的鸭子| 达英35是什么| 人生座右铭是什么意思| pigeon是什么牌子自行车| 姜罚是什么| 反流性食管炎能吃什么水果| 穷兵黩武是什么意思| 偏头痛什么原因引起的| 为什么客厅不能放假花| 审美观是什么意思| 女性更年期吃什么药| 陶渊明字什么| 为什么会血压低| 甲状腺结节吃什么散结| 帽子戏法是什么意思| 脑供血不足会导致什么后果| 尿道口下裂是什么样子| 爆血管是什么原因引起的| 得艾滋病的人有什么症状| 77年属蛇的是什么命| 云为什么是白色的| 正常头皮是什么颜色的| 子宫癌前期有什么症状| 灵芝有什么好处| 阴囊炎用什么药治疗| 青菜炒什么好吃| 玉帝叫什么名字| 手背麻木是什么原因| 70年出生属什么生肖| 吃什么补肝血| 切脉切的是什么脉| 处女座幸运颜色是什么| 心率低40多吃什么药| 华为什么手机好| 打桩是什么意思| 黄瓜敷脸有什么作用与功效| 什么是单核细胞百分比| 爱是什么| 血常规能查出什么病| 剧情是什么意思| 今年天热的原因是什么| 上善若水是什么意思| 鱼有念什么| 湿气用什么药最好最快| 蒲公英的约定表达什么| 肝肾挂什么科| 放射治疗是什么意思| 小便有刺痛感什么原因| 乙肝全是阴性是什么意思| 毛囊炎什么症状| 原生家庭什么意思| 活在当下是什么意思| 异常脑电图说明什么| 宝是什么生肖| 补办户口本需要什么材料| 胃胀气用什么药最好| 利血平是什么药| 舌苔黑是什么病| 得艾滋病的前兆是什么| m什么单位| 牙根痛吃什么药| 吃什么白蛋白提升快| 1973年属牛的是什么命| 腰痛应该挂什么科| 心肾不交有什么症状| 格桑花什么时候开花| 百度
Page MenuHomePhabricator

跨越三个国家 房山法院视频审理异国夫妻离婚案

Authored By
dominic.mayers
Jan 3 2024, 10:11 PM
Size
6 KB
Referenced Files
None
Subscribers
None

log_of_commit_to_cite_extension.txt

commit 4a16ff2567a535c312b0507d4ca52ee7b16cd8fb
Author: Dominic Mayers <dominic.mayers@meditationstudies.org>
Date: Wed Jan 3 14:45:18 2024 -0500
Cite ext: Add a safeguard to avoid processing a second time the ref tags
The previous code contained a safeguard to prevent recursion. This replaces
it with a similar safeguard with a similar idea, but which allows recursion.
Bug: T22707
Change-Id: Ifda92ac2cf464b58cf0a8bedd2b1afe149961c31
commit 15fbc658e51659c73e80934e82b79a062237bfeb
Author: Dominic Mayers <dominic.mayers@meditationstudies.org>
Date: Wed Jan 3 14:10:56 2024 -0500
Cite ext: Order the notes as they appear in guardedRef()
The order of the notes in <references> sections should
be the same as the one seen when we parse the page, i.e., the one seen by
guardedRef(). However, because the recursive calls must be done before
we store the processed texts in the stack, the order stored in the stack
is different. The new code keeps track of the order in which <ref> tags
are seen in guardedRef() in the property numLink. It sends the value
of numLink before the recursive call to the stack, which stores it as the
value 'numlink' of the ref array. This is used at the end in formatRefsList()
to reorder the notes.
Bug: T22707
Change-Id: Ie3bd2f3407810b19906ac61ffec522c03e61a822
commit 182a1a428b6be8008fd61c3ee122884cf4af9467
Author: Dominic Mayers <dominic.mayers@meditationstudies.org>
Date: Wed Jan 3 13:34:49 2024 -0500
Cite ext: Strip empty tags also when searching missing closing tags
The current code search for missing closing <ref> or <references>
tags by stripping full tags and searching for remaining opening
<ref> or <references> tags. That would work, but the regex used
also matches empty <ref> or <references> tags. The new code strips
them as well before applying the same regex. Perhaps, a better regex
would work as well.
Bug: T22707
Change-Id: I49bb66c62f202ca33ec0279969eeb21314f2319e
commit 0fde4d6d6de4b87abe3b2776b3f267a3dd0c8396
Author: Dominic Mayers <dominic.mayers@meditationstudies.org>
Date: Wed Jan 3 10:56:16 2024 -0500
Cite ext: Only increase $ref['count'] in ReferenceStack when the ref is a link
This is self explanatory. The value $ref['count'] should only be incremented
when the footnote is used by a <ref> tag.
Bug: T22707
Change-Id: I38c5250b17cf03e71d58634ced2738f831821716
commit 6b80742ea1423fba7dfc28ce95c6f9f610218688
Author: Dominic Mayers <dominic.mayers@meditationstudies.org>
Date: Wed Jan 3 09:39:26 2024 -0500
Cite ext: Process nested <ref>s in <references> as ordinary <ref>s
The current code uses $this->inRefTag to prevent recursion: the method ref()
returns null if it is true and it sets it to true before guardedRef(). This is
the opposite of what is needed to use the recursive power of the parser.
This commit gets rid of this and uses $this->depthRef, the level of recursion
in the processing of nested <ref> tags to properly manage recursion. It is
used to distinguisgh ref tags inside a <references> tag that are only footnotes
(cite_note), i.e, not links (cite_ref), from the ordinary <ref> tags, which
correspond to links. The nested <ref> tags, even those within a <references>
tag, are ordinary <ref> tags. They must be recursively managed just like any
other ordinary <ref> tags. Therefore, the new code sets
$isLink = ($this->inReferencesGroup === null || $this->depthRef); The property
$this->isLink is then used in Validator.php to validate differently the
footnotes in a <references> tag from the ordinary <ref> tags. Note that
it will not work to use a boolean and set it to false at the end of a level
of recursion. It is necessary to distinguish the 0th level from the others.
Bug: T22707
Change-Id: Ie21861a43b55b782e22cb9188bb77b658fafb6d0
commit 3180e9379ea7c9255dbb78e3c8967b6bcad9df54
Author: Dominic Mayers <dominic.mayers@meditationstudies.org>
Date: Wed Jan 3 00:41:07 2024 -0500
Cite ext: Use recursiveTagParse in guardedRef, not after the recursion is done.
The current code does not make recursive calls to the parser for each tag
individually in guardedRef(), but twice at the end, after all ref tags have
been processed in guardedRef(). Therefore, it does not use the natural
recursive power of the parser. If these two calls to recursiveTagParse() at
the end worked, that will be fine, but they do not and it is not surprising
that they don't. The logic of recursion in the parser is that the extension
receives the tag (the parameters and the inner text) and returns the html
that should replace the tag. This applies also to the processing of the
references tag(s). The processing of the ref tags is a part of the processing
of the references tag(s). This is accomplished by storing the processed inner
texts of the ref tags in a referenceStack. It is necessary that the code does
the recursive calls in guardedRef() so that the inner text of all nested ref
tags is processed and stored in referenceStack. The current code tries to do
the parsing at the end and it adds a few processing of individual ref tags
there and there to compensate for this lack of recursive calls, but it simply
does not work. This commit does two things. First, it adds the required call
to recursiveTagParse in guardedRef. Second, it removes all other processing
and parsing of the individual ref tags, except what is expected from the
extension: the html for the individual links (cite_ref) returned by guardedRef
and the html that wraps the recursively processed inner text (cite_note) and
the html that wraps this list of items returned by formatReferences. Every
thing else is done recursively by the parser. There is a small issue: the
current i18n translation does not create html links (<a href ...) , but wikitex
links ([[...). The job of the extension is to produce html, not wikitex. So,
it was necessary to create new entries in the i18n directory. This is part
of a series of patches. All patches in the series must be applied before we can
see the result: the correct parsing of arbitrarily nested ref tags.
Bug: T22707
Change-Id: I1a2619179bde809998d80947e6a4a3b59b86d4c4

File Metadata

Mime Type
text/plain
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14450645
Default Alt Text
log_of_commit_to_cite_extension.txt (6 KB)

Event Timeline

男人耳后有痣代表什么 四件套包括什么 检查前列腺做什么检查 妯娌是什么意思 月经期体重增加是什么原因
蟊贼是什么意思 起床气是什么意思 舌头发麻看什么科 内在美是什么意思 想怀孕需要检查什么项目
每天吃一根黄瓜有什么好处 六角恐龙吃什么 薤白是什么东西 铁蛋白是查什么的 试婚是什么意思啊
脸上长水泡似的痘痘是什么原因 高考成绩什么时间公布 拉姆什么意思 吃维c有什么好处 治胃病吃什么药
7月14号是什么星座hcv8jop1ns2r.cn 出血线是什么意思hcv9jop0ns5r.cn 右手小指戴戒指什么意思jiuxinfghf.com eb病毒是什么病hcv8jop7ns0r.cn 死党什么意思96micro.com
肌酐是检查什么的hcv7jop6ns2r.cn 职级是什么意思hcv8jop3ns8r.cn 办理无犯罪记录证明需要什么材料hcv8jop4ns0r.cn 三焦不通吃什么中成药hcv8jop7ns4r.cn 咳嗽不能吃什么hcv8jop4ns5r.cn
亚麻籽油和胡麻油有什么区别wuhaiwuya.com 开柙出虎是什么意思hcv9jop7ns0r.cn 肾病到什么程度腿会肿96micro.com ph值是什么意思hcv9jop0ns0r.cn 上日下文念什么hcv8jop8ns0r.cn
指南针什么时候发明的hcv7jop7ns1r.cn 感冒咳嗽可以吃什么水果hcv8jop7ns1r.cn 眩晕吃什么药好hcv8jop4ns8r.cn 冷感冒吃什么药好得快hcv8jop8ns1r.cn hca是什么意思hcv9jop1ns8r.cn
百度