[Bug 21994] New magic word which strips disambiguation words (like during pst)
https://bugzilla.wikimedia.org/show_bug.cgi?id=21994 Bawolff changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE --- Comment #9 from Bawolff 2010-02-07 02:41:45 UTC --- *** This bug has been marked as a duplicate of bug 7264 *** -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 21994] New magic word which strips disambiguation words (like during pst)
https://bugzilla.wikimedia.org/show_bug.cgi?id=21994 --- Comment #8 from Liangent 2010-01-03 05:15:48 UTC --- Ignore that "be" in "'''ABC (disambiguation)''' may be refer to:" please. :) -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 21994] New magic word which strips disambiguation words (like during pst)
https://bugzilla.wikimedia.org/show_bug.cgi?id=21994 --- Comment #7 from Liangent 2010-01-03 05:14:55 UTC --- For example a template {{disambig page}} with the content: '''{{linkpst:{{PAGENAME''' may refer to: {{{1}}} {{disambig}} If there's no linkpst, some pages may be displayed like: '''ABC (disambiguation)''' may be refer to: *something *something else {{disambig}} -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 21994] New magic word which strips disambiguation words (like during pst)
https://bugzilla.wikimedia.org/show_bug.cgi?id=21994 Chad H. changed: What|Removed |Added CC||innocentkil...@gmail.com --- Comment #6 from Chad H. 2010-01-02 22:43:25 UTC --- (In reply to comment #2) > I'm not sure how this would be useful... > Neither am I. (In reply to comment #3) > Maybe it's useful in some templates, to get the name of what an article > describes. > I'm not convinced. Can you explain yourself further? -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 21994] New magic word which strips disambiguation words (like during pst)
https://bugzilla.wikimedia.org/show_bug.cgi?id=21994 --- Comment #5 from Liangent 2010-01-02 14:04:16 UTC --- Perhaps another parameter indicating which steps are used? {{linkpst:foo (bar)|B}} -> foo {{linkpst:foo (bar)|C}} -> foo (bar) {{linkpst:ns:page|N}} -> page {{linkpst:ns:page}} -> page {{linkpst:ns:page|N}} -> page {{linkpst:ns:page|B}} -> ns:page {{linkpst:ns:page|B}} -> ns:page {{linkpst:ns:bar (baz), fred}} -> bar {{linkpst:ns:bar (baz), fred|BC}} -> ns:bar {{linkpst:ns:bar (baz), fred|NB}} -> bar, fred {{linkpst:ns:bar (baz), fred|NC}} -> bar (baz) {{linkpst:ns:bar (baz), fred|C}} -> ns:bar (baz) -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 21994] New magic word which strips disambiguation words (like during pst)
https://bugzilla.wikimedia.org/show_bug.cgi?id=21994 Alexandre Emsenhuber [IAlex] changed: What|Removed |Added CC||alex.emsenhu...@bluewin.ch --- Comment #4 from Alexandre Emsenhuber [IAlex] 2010-01-02 13:56:55 UTC --- Some thoughts for the patch in comment #2: * do not use SFH_NO_HASH for new parser functions * do not duplicate code, reuse the one in Parser.php if possible * it would be very nice to have some test cases for that function in parser tests -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 21994] New magic word which strips disambiguation words (like during pst)
https://bugzilla.wikimedia.org/show_bug.cgi?id=21994 --- Comment #3 from Liangent 2010-01-02 10:21:03 UTC --- Maybe it's useful in some templates, to get the name of what an article describes. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 21994] New magic word which strips disambiguation words (like during pst)
https://bugzilla.wikimedia.org/show_bug.cgi?id=21994 Bawolff changed: What|Removed |Added CC||bawolff...@gmail.com Keywords||need-review, patch Summary|New magic word which strips |New magic word which strips |disambiguation words|disambiguation words (like ||during pst) -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 21994] New magic word which strips disambiguation words
https://bugzilla.wikimedia.org/show_bug.cgi?id=21994 --- Comment #2 from Bawolff 2010-01-02 07:48:44 UTC --- Created an attachment (id=6915) --> (https://bugzilla.wikimedia.org/attachment.cgi?id=6915) patch to add new core parser function {{linkpst:...}} I'm not sure how this would be useful, but i made a patch which basically takes the link related stuff from Parser::pstPass2 and puts it in a core parser function named linkpst (since it essentially does the link related stuff of the pre-save-transform). {{linkpst:foo (bar)}} -> foo {{linkpst:ns:page}} -> page {{linkpst:ns:bar (baz), fred|}} -> bar etc. The only thing i'm unsure about is the regex in $p4. It doesn't appear to match stuff during pst. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 21994] New magic word which strips disambiguation words
https://bugzilla.wikimedia.org/show_bug.cgi?id=21994 --- Comment #1 from Liangent 2010-01-02 05:23:59 UTC --- For example: {{TRIM:X (disambiguation)}} -> X {{TRIM:Y, Jr.}} -> Y -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l